<template>
  <div class="parent">
    <Headers :title="title" />
    <div class="content">
      <div class="pic">
        <img src="../../assets/img/server.jpg" alt="" class="img">
      </div>
      <div class="card">
        <ul class="list">
          <li class="listItem" @click="alertEvent">
            <span class="icon iconfont icon-Groupx1"></span>
            <span class="text">设备报修</span>
          </li>
          <li class="listItem" @click="alertEvent">
            <span class="icon iconfont icon-Shapex"></span>
            <span class="text">盘管清洗保养</span>
          </li>
          <li class="listItem" @click="alertEvent">
            <span class="icon iconfont icon-fenzux"></span>
            <span class="text">锅炉保养</span>
          </li>
          <li class="listItem" @click="alertEvent">
            <span class="icon iconfont icon-dropx"></span>
            <span class="text">过滤网清洗</span>
          </li>
          <li class="listItem" @click="alertEvent">
            <span class="icon iconfont icon-heaterx"></span>
            <span class="text">暖气片保养</span>
          </li>
          <li class="listItem" @click="alertEvent">
            <span class="icon iconfont icon-airconditioningind"></span>
            <span class="text">空调清洗保养</span>
          </li>
        </ul>
      </div>
    </div>
    <footers :bottomActive='bottomActive'/>
  </div>
</template>
<script>
import Headers from '@/components/header'
import footers from '@/components/footer-tab'
import { Toast } from 'mint-ui'
export default {
  name: 'myBusinessDetail',
  data () {
    return {
      title: '服务',
      bottomActive: 2
    }
  },
  components: {
    Headers,
    footers
  },
  methods: {
    alertEvent () {
      Toast({
        message: '当前版本不可执行此操作，请联系4006-506-803开通正式版本',
        position: 'middle',
        duration: 2000
      })
    }
  }
}
</script>
<style scoped lang="scss">
.parent{
  width: 100%;
  height: 100%;
  background: #f9f9f9;
}
.pic{
  width: 100%;
  height: 200px;
  position: relative;
  margin-top: -1px;
  .img{
    width: 100%;
    height: 100%;
  }
  .mark{
    width: 100%;
    height: 30px;
    background:rgba(47,53,62,0.7);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    .text{
      font-size:16px;
      font-family:PingFangSC-Regular;
      font-weight:400;
      color:rgba(255,255,255,1);
    }
  }
}
.list{
  width: 100%;
  padding: 0 18px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: 45px;
  .listItem{
    width: 160px;
    height: 60px;
    background: #fff;
    margin-bottom: 22px;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding-left: 12px;
    .text{
      font-size:14px;
      font-family:PingFangSC-Medium;
      font-weight:500;
      color:rgba(59,70,100,1);
      padding-left: 5px;
    }
    .icon{
      color: #3496F8;
      font-size: 17px;
    }
  }
}
</style>
